package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 业绩
 */
@ApiModel(value = "com-lanchetech-entity-Performance")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Performance implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Long userId;

    /**
     * 下级id
     */
    @ApiModelProperty(value = "下级id")
    private Long subordinateId;

    /**
     * 单店编号
     */
    @ApiModelProperty(value = "单店编号")
    private Long singleShop;

    /**
     * 业绩金额
     */
    @ApiModelProperty(value = "业绩金额")
    private BigDecimal performanceAmount;

    /**
     * 佣金金额
     */
    @ApiModelProperty(value = "佣金金额")
    private BigDecimal commissionAmount;

    /**
     * 佣金类型
     */
    @ApiModelProperty(value = "佣金类型")
    private Byte type;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    private static final long serialVersionUID = 1L;
}